/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.nextel.project.stock.bean;

import pe.com.nextel.rms.DataInputStreamX;
import pe.com.nextel.rms.DataOutputStreamX;
import java.io.IOException;

import org.kxml2.io.KXmlParser;
import org.kxml2.io.KXmlSerializer;
import pe.com.nextel.util.List;
/**
 *
 * @author wpalacios
 */
public class StockDetalleBean {

   public String codigoproducto;
   public String nombreproducto;
   public String stock;

    public void persistir(DataOutputStreamX dataOutput, List list) throws IOException {

    }

    public List recuperar(DataInputStreamX dataInput) throws IOException {

        return null;
    }

    public void writeXMLObject(KXmlSerializer writer) throws IOException {

    }


    public void readXMLObject(KXmlParser parser) throws IOException {
        codigoproducto = parser.getAttributeValue(null, "cp");
        nombreproducto = parser.getAttributeValue(null, "np");
        stock = parser.getAttributeValue(null, "st");

    }


}
